#matplotlv from:http://matplotlib.sourceforge.net/examples/pylab_examples/simple_plot.html
from pylab import *

import matplotlib.pyplot as plt
plt.ion()
plt.plot([1,2,3])
plt.ylabel('some numbers')
#plt.show()
#plt.close()

##t = arange(0.0, 2.0, 0.01)
##s = sin(2*pi*t)
##plot(t, s, linewidth=1.0)
##
##xlabel('time (s)')
##ylabel('voltage (mV)')
##title('About as simple as it gets, folks')
##grid(True)
##show()

fname = open("new_plot.png",'w')
plt.savefig(fname, dpi=None, facecolor='w', edgecolor='w', orientation='portrait', papertype=None, format='png',transparent=False)
#fname.close()
